/*import  * as TYPES from './mutation-type'*/
export default {
    //计数器自增
    add(state){
		state.count+=1;
	},
    //计数器自减
	reduce(state){
		state.count-=1;
	},
    //手动接收计数器之后修改count变为计数器
	change(mapState,id){
		let newId = Number(id);
		state.count = newId;
	}

}